package com.ruoyi.productCheck.mapper;

import com.ruoyi.productCheck.domain.ProductReport;
import com.ruoyi.productCheck.domain.ProductReportModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface ProductReportMapper {

    public int addReport(ProductReport productReport);

    public void  removeReport(Long reportId);

    public List<ProductReport> reportList(ProductReport productReport);

    public ProductReport selectReport(Long reportId);

    public ProductReport selectReportLast(Map<String,Object> resMap);

    public List<ProductReport> auditReport(Long deptId);

    public int updateReport(ProductReport productReport);

    public int addReportTemplate(ProductReport productReport);

    public void  removeReportTemplate(Long reportId);

    public ProductReport selectReportTemplate(Map<String,Object> resMap);

    public int insertReportModel(ProductReportModel productReportModel);

}
